package com.mizhiquan.vo;

import java.util.Date;

/**
 * Created by zd on 2017/7/7 0007.
 */
//组装后的User对象，包含用户所有信息
public class UserInfo {
    private String userid;

    private String nickname;

    private String password;

    private Date regTime;

    private String phone;

    private String email;

    private String introduce;

    private Integer role;

    private String portrait;

    private Integer answercount;

    private Integer questioncount;

    private Integer favoritecount;

    private Integer circlefocuscount;

    private Integer followercount;

    private Integer followcount;

    private Integer coin;

    public UserInfo(String userid, String nickname, String password, Date regTime, String phone, String email, String introduce, Integer role, String portrait, Integer answercount, Integer questioncount, Integer favoritecount, Integer circlefocuscount, Integer followercount, Integer followcount, Integer coin) {
        this.userid = userid;
        this.nickname = nickname;
        this.password = password;
        this.regTime = regTime;
        this.phone = phone;
        this.email = email;
        this.introduce = introduce;
        this.role = role;
        this.portrait = portrait;
        this.answercount = answercount;
        this.questioncount = questioncount;
        this.favoritecount = favoritecount;
        this.circlefocuscount = circlefocuscount;
        this.followercount = followercount;
        this.followcount = followcount;
        this.coin = coin;
    }

    public UserInfo() {
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public Integer getAnswercount() {
        return answercount;
    }

    public void setAnswercount(Integer answercount) {
        this.answercount = answercount;
    }

    public Integer getQuestioncount() {
        return questioncount;
    }

    public void setQuestioncount(Integer questioncount) {
        this.questioncount = questioncount;
    }

    public Integer getFavoritecount() {
        return favoritecount;
    }

    public void setFavoritecount(Integer favoritecount) {
        this.favoritecount = favoritecount;
    }

    public Integer getCirclefocuscount() {
        return circlefocuscount;
    }

    public void setCirclefocuscount(Integer circlefocuscount) {
        this.circlefocuscount = circlefocuscount;
    }

    public Integer getFollowercount() {
        return followercount;
    }

    public void setFollowercount(Integer followercount) {
        this.followercount = followercount;
    }

    public Integer getFollowcount() {
        return followcount;
    }

    public void setFollowcount(Integer followcount) {
        this.followcount = followcount;
    }

    public Integer getCoin() {
        return coin;
    }

    public void setCoin(Integer coin) {
        this.coin = coin;
    }
}
